package com.haoyeteng.sxbd.modular.business.dao;

import com.haoyeteng.sxbd.modular.business.model.Contract;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 合同管理 Mapper 接口
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-10-04
 */
public interface ContractMapper extends BaseMapper<Contract> {

	List<Map<String, Object>> selectMyContractList(Page<Contract> page, @Param("contractStatus")String contractStatus, @Param("contractNo")String contractNo,
			@Param("userId")Integer userId);

	List<Map<String, Object>> selectContractList(Page<Contract> page, @Param("contractStatus")String contractStatus, @Param("contractNo")String contractNo,
			@Param("orderId")String orderId, @Param("applyTime")String applyTime);

}
